.viewer-workspace{
  width: 100%;
  height: calc(100% - 33px);
}
.viewer-box{
  width: 100%;
  height: 100%;
  .viewer-box-toolbar{
    display: flex;
    align-items: center;
    color: #A0A0A0;
    padding: 4px 0;
    background: #484848;
    .window-width, .window-height{
      width: 40px;
      margin: 0 4px;
      font-size: 16px;
      input {
        height: 20px;
        text-align: center;
        font-size: 12px;
        border: solid 1px #A0A0A0;
      }
    }

  }
  .viewer-box-designer-panel{
    width: 100%;
    height: 100%;
    overflow-y: auto;
    position: relative;
    &::-webkit-scrollbar {
      width: 8px;
      height: 8px;
      background: transparent;
    }
    &::-webkit-scrollbar-thumb {
      border-radius: 8px;
      width: 8px;
      background-color: rgba(220, 220, 220, 0.5);
    }
    .com-drag {
      position: relative;
      .drag {
        position: absolute;
        right: -8px;
        top: -8px;
        &.icon {
          fill: red;
        }
      }
    }
    .viewer-box-designer-window {
      margin: auto;
      position: absolute;
      transform: scale(0.6, 0.6);
      left: 0;
      right: 0;
      top: 10px;
      display: inline-block;
      border: solid 1px #A0A0A0;
      background: #FFFFFF;
    }
  }
  .view-item-box {
    min-height: 24px;
    border: dashed 1px #686868;
    &.active {
      border: solid 2px #4787F3;
    }
  }
}
